Home
last modified time | relevance | path

Searched hist:"0 e82dc7b" (Results 1 – 1 of 1) sorted by relevance

/qemu/
H A Dqemu-io-cmds.c0e82dc7b Mon Dec 08 09:48:10 GMT 2014 Max Reitz <mreitz@redhat.com> qemu-io: Add sigraise command

abort() has the sometimes undesirable side-effect of generating a core
dump. If that is not needed, SIGKILL has the same effect of abruptly
crash qemu; without a core dump.

Thus, -c abort is not always useful to simulate a qemu-io crash;
therefore, this patch adds a new sigraise command which allows raising
a signal.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Message-id: 1418032092-16813-2-git-send-email-mreitz@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>